<meta charset="utf-8">

	<style>
		.Ractivity {
			background-color: #F2F2F2;
			text-align: left;
			font-family: "微软雅黑";
		}
		
		.Ractivity-Button {
			width: 50%!important;
			margin: 0 auto;
			background-color: #ff6614;
			color: white;
			font-family: "微软雅黑";
			border: none;
			
			text-align: center;
			height: 3em;
			line-height: 3em;
			border-radius: .4em;
		}
		
		.textarea-text {
			padding-left: 15px!important;
			padding-right: 15px!important;
			width: 100%;
			overflow: hidden;
			padding: 0;
			
			outline: none;
			resize: none;
		}
	</style>
	<ion-header-bar align-title="center">
	<div class="buttons ">
		<button class="button  button-clear" style="color: #000;" ng-click='back()'><i class="ion-chevron-left"></i></button>
	</div>
	<h1 class="title" style="font-family: '微软雅黑';">活动</h1>
	
</ion-header-bar>
	<ion-content class='Ractivity'>
		<div style="height: 15em" ng-show='fmpd'>
			<img ng-src="{{FormData}}" width="100%" height="100%" />
		</div>
		<form id= "uploadForm" style="display: none;">  
       <input type="file"  id="hdfm" onchange="angular.element(this).scope().change()" name="file"/></ p>  
</form>  
		<div class="list" style="margin-top: 10px;">
			<div class="item item-input item-icon-right">
          <span class="input-label " >活动主题：</span>
        
          <input type="text" ng-model='Atheme.theme'  >
<!--       ng-click='show()'-->
           <a ng-click="csfm()"   style="color: cornflowerblue;;"> <i  class="icon iconfont icon-tianjiatupian"></i></a>
       </div>
			<label class="item item-input item-select"">
          <span class="input-label">活动类型：</span>
     
          <select >
       <option ng-repeat='p in notices track by $index' id='zhuti' value="{{p.Id}}" >{{p.name}}</option>
     
      
    </select>
 
        </label>
			<label class="item item-input">
          <span class="input-label" >开始时间：</span>
          <input type="datetime-local"  id='ksdate'  >
        </label>
			<label class="item item-input">
          <span class="input-label" >结束时间：</span>
          <input type="datetime-local" id='jsdate'>
        </label>
			<label class="item item-input item-icon-right">
          <span class="input-label">举办地点：</span>
     
         <input type="text" id="jbdd" ng-model='mapnr'  style="max-width: 60%;">
       <a href="#/publish/content/map"> <i class="icon iconfont icon-faxian3"></i></a> </label>
			<label class="item item-input">
          <span class="input-label">报名截止时间：</span>
          <input type="datetime-local" id='bmjzdate'  >
        </label>
		</div>
		<div style="width: 100%;background-color: white;color:#555555;font-size: 16px;padding-left: 18px;">
			活动详情及内容
		</div>
		<div  contenteditable="true" class="textarea-text"  style="background-color: white;-webkit-user-select:text" id="text" >
		
		</div>

		<div style="background-color: white;padding-left:18px;">
			<img src="img/fabu/img.png" width="20" ng-click="addimg()">
			<img src="img/fabu/del.png" width="20" ng-click="del()">
		</div>

		<div class="padding">
			<a class=" button-block Ractivity-Button " ng-click='fabu()'>发布</a>
		</div>
		<form id= "uploadForm1" style="display: none;">  
		<input type="file" id='hdnrtp' style="display: none;" name="file" />
		</form>
	</ion-content>
